package com.pilipili.zeus.eduService.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 查询对象的属性
 * @author Unlimited_Blade_Works
 */
@ApiModel(value = "查询对象", description = "查询对象封装")
@Data
public class Query implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称,模糊查询")
    private String name;

    @ApiModelProperty(value = "头衔 1高级作者 2首席作者")
    private Integer level;
    //前端传过来的String类型数据无需进行类型转换
    @ApiModelProperty(value = "查询开始时间", example = "2021-01-01 10:10:10")
    private String begin;

    @ApiModelProperty(value = "查询结束时间", example = "2021-12-01 10:10:10")
    private String end;
}
